package com.company.biz.purchase.service;

import com.company.purchase.entity.PurchaseOrderEntity;
import com.company.purchase.req.*;

import java.util.List;


public interface OrderFormService {
    /**
     * 采购订单分页
     * */
    List<PurchaseOrderEntity> getPurchaseOrderListPages(getPurchaseListPagesReq req);

    /**
     * 根据采购id查询
     * */
    List<PurchaseOrderEntity> getPurchaseById(String req);

    /**
     * 根据采购id删除
     * */
    boolean PurchaseDeletById(PurchaseDeletByIdReq req);

    /**
     * 修改指定订单
     * */
    void PurchaseUpdateById(PurchaseUpdateByIdReq req);

    /**
     * 添加订单
     * */
    void PurchaseAddById(List<getPurchaseAddByIdReq> req);
}
